package com.wtwd.campus.h5_manager.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2022/03/04
 * @description
 */
@ApiModel(value="H5平台角色权限", description="")
public class RolePermissionVo {

    @ApiModelProperty(value = "菜单id")
    private Integer id;

    @ApiModelProperty(value = "父级菜单id")
    private Integer pid;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单路径")
    private String perUrl;

    @ApiModelProperty(value = "菜单类型(1:一级菜单; 2:子菜单;10:按钮权限)")
    private String menuType;

    @ApiModelProperty(value = "菜单权限编码")
    private String perCode;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "是否有权限",notes = "0:没有权限,1:有权限")
    private Integer checkPermission;

    @ApiModelProperty(value = "是否有权限")
    private Boolean checked;

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPerUrl() {
        return perUrl;
    }

    public void setPerUrl(String perUrl) {
        this.perUrl = perUrl;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getPerCode() {
        return perCode;
    }

    public void setPerCode(String perCode) {
        this.perCode = perCode;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCheckPermission() {
        return checkPermission;
    }

    public void setCheckPermission(Integer checkPermission) {
        this.checkPermission = checkPermission;
    }

    @Override
    public String toString() {
        return "RolePermissionVo{" +
                "id=" + id +
                ", pid=" + pid +
                ", name='" + name + '\'' +
                ", perUrl='" + perUrl + '\'' +
                ", menuType='" + menuType + '\'' +
                ", perCode='" + perCode + '\'' +
                ", updateTime=" + updateTime +
                ", checkPermission=" + checkPermission +
                ", checked=" + checked +
                '}';
    }
}
